package com.ant.user.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEntity {

    /*
    <resultMap id="UserResultMap" type="com.ant.user.entity.User">
        <id property="id" column="ID"/>
        <result property="account" column="ACCOUNT"/>
        <result property="contact" column="CONTACT"/>
        <result property="passphrase" column="PASSPHRASE"/>
        <result property="failCount" column="FAIL_COUNT"/>
        <result property="lastLoginTime" column="LAST_LOGIN_TIME"/>
        <result property="dropTime" column="DROP_TIME"/>
    </resultMap>
     */
    int id;
    String account;
    String contact;
    String passphrase;
    int failCount;
    long lastLoginTime;
    long dropTime; // 注销时间
}
